package demo04ProxyPattern.cglibDynamicProxy;

/**
 * @author: WangPeng
 * @createTime: 2022/11/09 18:01
 * @description:
 * @version: v1.0
 */
public class Test01 {
    public static void main(String[] args) {
        ProxyFactory proxyFactory = new ProxyFactory(new FangDong());
        FangDong instance = (FangDong) proxyFactory.getInstance();
        instance.chuZhu();
    }
}
